module.exports [
  // 用户登录
  {
    url: '/auth/login',
    type: "post",
    response: config => {
      const { username,password } = config.body
      if(username == 'zhousir' && password == '12345678')
        return {"code":0,"message":"success","data":{"accessToken":"bbc95464eff346ce9857096011004d9e","expiresOn":86400,"simpleParty":{"partyId":20,"accountId":20,"accountName":"19999999999","realName":"19999999999","gender":"Male","birthday":"","mobile":"19999999999","email":"","remark":"","nickname":"","headImage":"","superFlag":false,"partyRole":{"id":11,"name":"开发人员","description":""}}}}
      else
        return {"code":-1,"message":"账号出错!"}
    }
  },
  // 用户信息
  {
    url: '/auth/info',
    method: 'get',
    response:()=>{
        return {"code":0,"message":"success","data":{"partyId":20,"accountId":20,"accountName":"19999999999","realName":"19999999999","gender":"Male","birthday":"","mobile":"19999999999","email":"","remark":"","nickname":"","headImage":"","superFlag":false,"partyRole":{"id":11,"name":"开发人员","description":""}}}
    }
  },
  //   菜单
  {
    url: '/auth/menus',
    method: 'get',
    response: ()=>{
        return {"code":0,"message":"success","data":[{"id":"1","label":"系统管理","icon":"systemAdmin","path":"/platform/system","children":[{"id":"2","label":"菜单管理","icon":"","path":"menus","children":[]},{"id":"3","label":"角色管理","icon":"","path":"role","children":[]},{"id":"4","label":"用户管理","icon":"","path":"account","children":[]},{"id":"5","label":"系统参数","icon":"","path":"parameter","children":[]},{"id":"6","label":"应用版本","icon":"","path":"upgrade_package","children":[]},{"id":"23","label":"操作日志","icon":"","path":"log","children":[]}]},{"id":"8","label":"资源管理","icon":"fas_fa-music","path":"/platform/resource","children":[{"id":"18","label":"歌曲","icon":"","path":"song","children":[]},{"id":"32","label":"歌单","icon":"","path":"songSheet","children":[]},{"id":"20","label":"专辑","icon":"","path":"ablum","children":[]},{"id":"19","label":"歌手","icon":"","path":"artist","children":[]},{"id":"34","label":"视频","icon":"","path":"video","children":[]},{"id":"33","label":"标签","icon":"","path":"label","children":[]},{"id":"41","label":"搜索热词","icon":"","path":"searchword","children":[]},{"id":"38","label":"算法管理","icon":"","path":"arith","children":[]}]},{"id":"9","label":"栏目管理","icon":"md-queue_music","path":"/platform/channel","children":[{"id":"24","label":"首页","icon":"","path":"home","children":[]},{"id":"25","label":"歌单标签","icon":"","path":"label","children":[]},{"id":"60","label":"搜索","icon":"","path":"search","children":[]},{"id":"59","label":"本地","icon":"","path":"local","children":[]},{"id":"35","label":"栏目样式","icon":"","path":"style","children":[]}]},{"id":"11","label":"信息管理","icon":"md-description","path":"/platform/message","children":[{"id":"27","label":"意见建议","icon":"","path":"idea","children":[]},{"id":"26","label":"帮助关于","icon":"","path":"about","children":[]}]},{"id":"10","label":"广告管理","icon":"md-av_timer","path":"/platform/ad","children":[{"id":"36","label":"广告图","icon":"","path":"advpic","children":[]},{"id":"37","label":"启动图","icon":"","path":"launchpic","children":[]}]}]}
      }
  },
  //资源 未加资源 权限
  {
      url:'/auth/role/resources',
      method:'get',
      response:()=>{
          return {"code":0,"message":"success","data":[ {resources: ["addUser", "editUser", "removeUser"]}]}
      }
  },
  // 退出
  {
    url:'/auth/logout',
    method:'get',
    response:()=>{
        return {"code": 0,"data": true, "message": ""}
    }
  }

]
